package com.dj.myapp;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class MainActivity extends BaseActivity {


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        init();
    }

    private void init() {

        Button btn_second_activity= (Button) findViewById(R.id.btn_second_activity);
        btn_second_activity.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                mService.startSecondActivity(MainActivity.this);
            }
        });


    }
}